﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Basics.Feedbacks.Dto
{
    public class CreateFeedbackDto
    {
        public string Name { get; set; }
        public string EmailAddress { get; set; }
        public string PhoneNumber { get; set; }
        public string Content { get; set; }

        public void MapTo(Feedback feedback)
        {
            feedback.Name = Name;
            feedback.EmailAddress = EmailAddress;
            feedback.PhoneNumber = PhoneNumber;
            feedback.Content = Content;
        }
    }
}
